﻿using Nop.Web.Framework.Localization;
using Nop.Web.Framework.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Nop.Web.Framework;

namespace Nop.Admin.Models.Directory
{
    public partial class RegionModel : BaseNopEntityModel, ILocalizedModel<RegionLocalizedModel>
    {
        public RegionModel()
        {
            Locales = new List<RegionLocalizedModel>();
        }

        [NopResourceDisplayName("Admin.Catalog.Products.List.SearchRegion")]
        public string Name { get; set; }
        
        public int DisplayOrder { get; set; }

        public IList<RegionLocalizedModel> Locales { get; set; }
    }

    public partial class RegionLocalizedModel : ILocalizedModelLocal
    {
        public int LanguageId { get; set; }

        [NopResourceDisplayName("Admin.Catalog.Products.List.SearchRegion")]
        public string Name { get; set; }
    }
}